from selenium import webdriver
import time
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
# 连接浏览器
driver=webdriver.Firefox()
driver.get('https://www.baidu.com/')
driver.maximize_window()
time.sleep(2)
